package com.qing.administer.mapper;

import com.qing.administer.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 角色 Mapper 接口
 * </p>
 *
 * @author qing
 * @since 2021-09-17
 */
@Mapper
@Repository
public interface SysRoleMapper extends BaseMapper<SysRole> {

	List<SysRole> selectSysRoleByUserId(@Param("userId") Long  userId);
}
